<?php
class Professional extends AppModel {
	
	var $name = 'Professional';
	
	var $validate = array(
		'first_name' => array('notempty'),
		'last_name' => array('notempty')
	);
	
	var $hasOne = array('Curriculum' => array('className' => 'Curriculum',
										   'foreignKey' => 'professional_id',
										   'dependent' => true)); 	
}